package com.zhangtai.modules.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;


@Data
public class EmployeeCachDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oid;


    /**
     * 姓名
     */
//    private String name;
    /**
     * 性别
     */
    private String gender;
    /**
     * 身份证号
     */
//    private String idcard;

    /**
     * 工号
     */
    private String code;

    /**
     * 0:正常,1:删除
     */
//    private Integer isDelete;

    /**
     * 拟录用部门
     */
//    private String unitname;
    /**
     * 部门id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long unitId;
    /**
     * * 拟录用公司
     */
//    private String orgname;
    /**
     * 公司id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long orgId;
    /**
     * 拟录用岗位
     */
//    private String jobname;
    /**
     * 职位id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long jobId;

    /**
     * 职级id
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long jobLevelId;
    /**
     * 职级
     */
//    private String jobLevel;

    private Integer jobLevelType;

//    private String line;

//    private String jobSystem;

//    @JsonDeserialize(using = LongJsonDeserializer.class)
//    @JsonSerialize(using = LongJsonSerializer.class)
//    private Long jobSystemId;

//    @JsonDeserialize(using = LongJsonDeserializer.class)
//    @JsonSerialize(using = LongJsonSerializer.class)
//    private Long lineId;



//    private String iscentreprincipal;

//    private String isdepartmentprincipa;

    /**
     * 薪资组id
     */
//    @JsonDeserialize(using = LongJsonDeserializer.class)
//    @JsonSerialize(using = LongJsonSerializer.class)
//    private Long salaryGroupId;



    /**
     * 员工编号
     */
//    @JsonDeserialize(using = LongJsonDeserializer.class)
//    @JsonSerialize(using = LongJsonSerializer.class)
//    private Long employeeOid;


}
